import React, { Component } from "react";
import SideBar from "../pages/SideBar";
import urlHook from "pages/ruijing/common/utils/urlHook";
import UserApi from "@module/userApi";
import CookieUtils from "pages/ruijing/common/utils/CookieUtils";
import HttpUtils from "pages/ruijing/common/utils/HttpUtils";

console.log("Bar.js");

function HMSSideBar(props) {
    const allTabLength = 14;
    let selectedGroup = [];
    for(let i=0;i<allTabLength;i++){
        selectedGroup.push(false);
    }
    const hmsMenuConfig = useStoreState("hmsMenuConfig",null,{selectedGroup:selectedGroup});
    React.useEffect(() => {
        Uts.changeMenu();
    },[]);
	return<SideBar  {...hmsMenuConfig} />
}

export default HMSSideBar;
